<?php
echo 'time = ' . time() . '----<br />';
$post_date = trim($_GET['post_date']);
echo 'post_date.trim = ' . $post_date . '<br />';
$post_date = substr($post_date, 0, 10);
echo 'post_date.substr = -' . $post_date . '--<br />';
$t_a = $post_date - time();
$result = date("Y-m-d H:i:s", $post_date);
echo 'result = ' . $result . '<br />';

//$post_date = date("Y-m-d H:i:s", strtotime(stripslashes($_GET['post_date'].trim())));
//echo 'post_date = ' + $_GET['post_date'] . '<br />';
//echo 'post_date = ' + $post_date . '<br />';

echo '----------------------<br />';
$date1 = date("Y-m-d H:i:s", time());
echo 'date1 = ' . $date1 . '<br />';

?>